<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:ui="http://java.sun.com/jsf/facelets">
    
    <h:head>
        <title>Upload excel</title>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" />
        <link rel="stylesheet" href="css/main.css" />
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    </h:head>
<h:body>
        <ui:include src="/navigatie.xhtml" />
        <h2>Voeg score toe</h2>
        <p>Upload hier een excel bestand met de score in.</p>
        <h:form enctype="multipart/form-data">
            <div class="form-group">
            <t:inputFileUpload value="#{uploadController.uploadedFile}" />
            <h:commandButton value="Verwerk Score" action="#{uploadController.excelOpslaan}" class="btn btn-success" />
            <p>#{uploadController.response}</p>
            </div>
        </h:form>


    </h:body>

</html>